<script setup lang='ts'>
import { useRouter } from 'vue-router'
const router = useRouter()
const handleJumpPage1 = () => {
    router.push('/first')
}
const handleJumpPage2 = () => {
    router.push('/second')
}
</script>
<template>
  <div>
    首页
    <button @click="handleJumpPage1">页面1</button>
    <button @click="handleJumpPage2">页面2</button>

  </div>
</template>


<style lang='scss' scoped>
</style>